package com.example.librarymanagementsystembackend.borrowingmanagement.entity;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 借书 数据传输类
 */
@Data
public class BorrowBooksDTO {
    private Integer userId;        // 借阅用户的ID
    private Integer bookId;        // 借阅图书的ID
    private String borrowTime;     // 借书时间（ISO 8601格式）

    public BorrowBooksDTO(Integer userId, Integer bookId, String borrowTime) {
        this.userId = userId;
        this.bookId = bookId;
        this.borrowTime = borrowTime;
    }
}
